home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / DynRisk 68k 4.01 demo.sit / DynRisk-Help.rsrc / TEXT_4606.txt < prev    next >
Text File  |  1996-08-30  |  3KB  |  37 lines

  1. Conditions
  2.  
  3. The set of dialog items you find in the 窶廢vent窶 view varies from application to application. However, two items stay unchanged: the 窶廰.Fact.窶 field, and 窶廚ondition窶 popup menu.
  4.  
  5. Unlike nodes, an event does not necessarily have to be calculated in every simulation run. DynRisk allows you to attach a condition to each event. The condition is defined by the 窶廰.Fact.窶 field and the 窶廚ondition窶 popup menu. When the condition is not satisfied, no message is sent to the target application, and the output value of the event is zero.
  6.  
  7. The following condition types are available:
  8.  
  9.     窶「 On all runs
  10.     窶「 On large input
  11.     窶「 On small input
  12.     窶「 On random
  13.     窶「 On even runs
  14.     窶「 On odd runs
  15.     窶「 On init
  16.  
  17. The 窶廾n all runs窶 option implies that the event is calculated in every simulation run. In this case the 窶廰.Fact.窶 is not used at all.
  18.  
  19. 窶廾n large input窶 means that the event will only be calculated if the sum of the input values is strictly greater than the value of the 窶廰.Fact.窶 field.
  20.  
  21. 窶廾n small input窶 means that the event will only be calculated if the sum of the input values is strictly smaller than the value of the 窶廰.Fact.窶 field.
  22.  
  23. If the 窶廾n random窶 option is selected, then the 窶廰.Fact窶 field is interpreted as a probability. Thus, when using this option, you should specify a number between 0 and 1 in this field. In each simulation run the event will be calculated with probability equal to the number you specify.
  24.  
  25. 窶廾n even runs窶 means that the event is only calculated every second simulation run starting at run 2. Thus, the event will be calculated in run 2, 4, 6, 窶ヲ, and not calculated in run 1, 3, 5, 窶ヲ. In this case the 窶廰.Fact.窶 field is not used at all.
  26.  
  27. 窶廾n odd runs窶 means that the event is only calculated every second simulation run starting at run 1. Thus, the event will be calculated in run 1, 3, 5, 窶ヲ, and not calculated in run 2, 4, 6, 窶ヲ. In this case the 窶廰.Fact.窶 field is not used at all.
  28.  
  29. If the 窶廾n init窶 option is selected, the event is only calculated during initialization. The initialization is carried out before any actual simulation is done. At this early stage there is no data flow through the model. Thus, in particular, there are no input values coming in to the event from its predecessors, and no output values being passed on to its successors. To understand what the event does, we need to know what category the event belongs to:
  30.  
  31. If the event is a 窶彜end data窶 event, then it sends its 窶廰.Fact.窶 value.  During the actual simulations, the event will pass zero on to each of its successors.
  32.  
  33. If the event is a 窶彝eceive data窶 event, it stores the received value. During the actual simulations, the event will pass this value on to each of its successors (instead of just zero). In this case the 窶廰.Fact.窶 field is not used at all.
  34.  
  35. If the event is a 窶彜end and receive data窶 event, it sends its 窶廰.Fact.窶 value, and stores the received value. During the actual simulations the event will pass this value on to each of its successors (instead of just zero).
  36.  
  37. If the event is a 窶弋rigger action窶 event, the event simply send the trigger message. During the actual simulations the event will pass zero on to each of its successors. In this case the 窶廰.Fact.窶 field is not used at all.